country_decisions = {

	irish_nation = {
		major = yes
		potential = {
			normal_or_historical_nations = yes
			NOT = { has_country_flag = formed_ireland_flag }
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			NOT = { exists = IRE }
			NOT = { tag = PAP }
			NOT = { tag = HLR }
			NOT = { tag = EUR }
			primary_culture = irish
			OR = {
				ai = no
				AND = {
					ai = yes
					num_of_cities = 3
				}
			}
			is_colonial_nation = no
			OR = {
				is_former_colonial_nation = no
				AND = {
					is_former_colonial_nation = yes
					ai = no
				}
			}
		}
		allow = {
			adm_tech = 10
			is_free_or_tributary_trigger = yes
			is_nomad = no
			is_at_war = no
			owns = 372			# Ulster
			owns = 373			# Meath
			owns = 374			# Mnchen
			owns = 375			# Leinster
			owns = 376			# Connaught
		}
		effect = {
			change_tag = IRE
			if = {
				limit = {
					is_part_of_hre = yes
					NOT = { has_country_modifier = european_union }
					is_elector = no
					is_emperor = no
				}
				every_owned_province = {
					limit = {
						is_part_of_hre = yes
					}
					set_in_empire = no
				}
			}
			if = {
				limit = {
					NOT = { government_rank = 2 }
				}
				set_government_rank = 2
			}
			add_country_modifier = {
				name = "centralization_modifier"
				duration = 7300
			}
			add_prestige = 10
			set_country_flag = formed_ireland_flag
		}
		ai_will_do = {
			factor = 1
		}
	}
	
}
